<script type="text/javascript">
$(function () {
	var url = '${contextPath}script/sys/organ.js';
	$.ajax({url:url, dataType:'script', cache:true,
		success: function(){
			var page = sys_fill_parm('queryOrganForm');
			queryOrgan_organ(page);
		}
	});
	
	$('#queryOrganForm').find("input:checkbox, input:radio").not('input.ibtn').uniform();
});
</script>

<#import "/freemarker/modeltype.ftl" as mt>
<#import "/freemarker/modeltype_entity.ftl" as mte>

<form id="queryOrganForm">
<table class="search_term_table">
	<tr><th style="width:60px;">机构名称</th>
		<td style="width:150px;"><input type="text" name="name" class="form-control" style="width:120px;" /></td>
		<th style="width:60px;">机构类型</th>
		<td style="width:180px;"><@mte.OrganType id="otc" name='otc' nullstr='所有' pc="0" classname="uniformselect"/></td>
		<th style="width:60px;">是否屏蔽</th>
		<td style="width:100px;"><@mt.YesOrNo r=true name='deleted' d=false mc=true className="formwrapper"/></td>
		<td style="text-align:right;">
			<button class="btn btn-info" onclick="javascript:queryOrgan_organ(); return false;"><i class="icon-search"></i> 查 询 </button>
			<button class="btn btn-success" onclick="javascript:sys_load_handle('organ-edit'); return false;"><i class="icon-file"></i> 添 加 </button>
		</td>
	</tr>
</table>
</form>
<div id="organResultList"></div>
